<div class="transfer">
  <form dForm [layout]="layoutDirection" [dValidateRules]="formRules.rule" ngForm (dSubmit)="submitForm($event)">
    <d-form-item>
      <d-form-label [required]="true">被转赠人地址</d-form-label>
      <d-form-control>
        <div style="width: 100%">
          <input dTextInput autocomplete="off" name="address" placeholder="请输入被转赠人的链上账户地址" [(ngModel)]="address"
            [dValidateRules]="formRules.address" />
        </div>
      </d-form-control>
    </d-form-item>
    <d-form-operation>
      <d-button class="confirm" dFormSubmit>确定
      </d-button>
      <d-button class="cancel" (click)="cancel()">
        取消
      </d-button>
    </d-form-operation>
  </form>
</div>
